package com.jinghangzz.shop.demo.pojo;

import java.util.Date;
import java.util.List;

/**
 * 朝代表的Pojo
 * @author TeaBig
 */
public class ADynasty
{
	private int id;
	private String name;
	private int stYear;
	private int edYear;
	private byte status;
	private Date createTime;
	private Date updateTime;
	private Date pubTime;
	
	/* 朝代和皇上:是一对多 */
	private List<AKing> kingList ; 

	public int getId()
	{
		return id;
	}

	public void setId(int id)
	{
		this.id = id;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public int getStYear()
	{
		return stYear;
	}

	public void setStYear(int stYear)
	{
		this.stYear = stYear;
	}

	public int getEdYear()
	{
		return edYear;
	}

	public void setEdYear(int edYear)
	{
		this.edYear = edYear;
	}

	public byte getStatus()
	{
		return status;
	}

	public void setStatus(byte status)
	{
		this.status = status;
	}

	public Date getCreateTime()
	{
		return createTime;
	}

	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}

	public Date getUpdateTime()
	{
		return updateTime;
	}

	public void setUpdateTime(Date updateTime)
	{
		this.updateTime = updateTime;
	}

	public Date getPubTime()
	{
		return pubTime;
	}

	public void setPubTime(Date pubTime)
	{
		this.pubTime = pubTime;
	}

	public List<AKing> getKingList()
	{
		return kingList;
	}

	public void setKingList(List<AKing> kingList)
	{
		this.kingList = kingList;
	}
}
